﻿#if USE_UNI_LUA
using LuaAPI = UniLua.Lua;
using RealStatePtr = UniLua.ILuaState;
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
#else
using LuaAPI = XLua.LuaDLL.Lua;
using RealStatePtr = System.IntPtr;
using LuaCSFunction = XLuaBase.lua_CSFunction;
#endif

using XLua;
using System.Collections.Generic;


namespace XLua.CSObjectWrap
{
    using Utils = XLua.Utils;
    public class YoozooGameplayCityCity4xFogComponentWrap 
    {
        public static void __Register(RealStatePtr L)
        {
			ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			System.Type type = typeof(Yoozoo.Gameplay.City.City4xFogComponent);
			Utils.BeginObjectRegister(type, L, translator, 0, 12, 22, 19);
			
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "Dispose", _m_Dispose);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "BuildBeginMask", _m_BuildBeginMask);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnlockEdge", _m_UnlockEdge);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnlockFogGrids", _m_UnlockFogGrids);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnlockAreaFogByTex", _m_UnlockAreaFogByTex);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnlockFogOut", _m_UnlockFogOut);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "PreShowEvent", _m_PreShowEvent);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnlockAreaFogEditor", _m_UnlockAreaFogEditor);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnlockAreaFog", _m_UnlockAreaFog);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetWaitLockTexOffset", _m_SetWaitLockTexOffset);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "DigHoleFogOut", _m_DigHoleFogOut);
			
			
			Utils.RegisterFunc(L, Utils.GETTER_IDX, "WidthEdge", _g_get_WidthEdge);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "HeightEdge", _g_get_HeightEdge);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "AreaCount", _g_get_AreaCount);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "width", _g_get_width);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "height", _g_get_height);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "edge", _g_get_edge);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "fogHeight", _g_get_fogHeight);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "cityCellSize", _g_get_cityCellSize);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "gridViewAngleY", _g_get_gridViewAngleY);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "maskTexPath", _g_get_maskTexPath);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "maskTexturePaths", _g_get_maskTexturePaths);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "fogPlans", _g_get_fogPlans);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "texPropName", _g_get_texPropName);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "meshRenderer", _g_get_meshRenderer);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "fogMaskTex", _g_get_fogMaskTex);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "disperseFogMesh", _g_get_disperseFogMesh);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "disperseEdge", _g_get_disperseEdge);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "disperseSpeed", _g_get_disperseSpeed);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "fogEffectTime", _g_get_fogEffectTime);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "fogArray", _g_get_fogArray);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "FogOutRoot", _g_get_FogOutRoot);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "FogOutAreaMasks", _g_get_FogOutAreaMasks);
            
			Utils.RegisterFunc(L, Utils.SETTER_IDX, "width", _s_set_width);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "height", _s_set_height);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "edge", _s_set_edge);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "fogHeight", _s_set_fogHeight);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "cityCellSize", _s_set_cityCellSize);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "gridViewAngleY", _s_set_gridViewAngleY);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "maskTexPath", _s_set_maskTexPath);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "maskTexturePaths", _s_set_maskTexturePaths);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "fogPlans", _s_set_fogPlans);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "texPropName", _s_set_texPropName);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "meshRenderer", _s_set_meshRenderer);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "fogMaskTex", _s_set_fogMaskTex);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "disperseFogMesh", _s_set_disperseFogMesh);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "disperseEdge", _s_set_disperseEdge);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "disperseSpeed", _s_set_disperseSpeed);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "fogEffectTime", _s_set_fogEffectTime);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "fogArray", _s_set_fogArray);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "FogOutRoot", _s_set_FogOutRoot);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "FogOutAreaMasks", _s_set_FogOutAreaMasks);
            
			
			Utils.EndObjectRegister(type, L, translator, null, null,
			    null, null, null);

		    Utils.BeginClassRegister(type, L, __CreateInstance, 1, 0, 0);
			
			
            
			
			
			
            Utils.RegisterFunc(L, Utils.CLS_IDX, "New", __CreateInstanceNew);
			Utils.EndClassRegister(type, L, translator);
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int __CreateInstance(RealStatePtr L)
        {
            
			try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
				if(LuaAPI.lua_gettop(L) == 1)
				{
					
					var gen_ret = new Yoozoo.Gameplay.City.City4xFogComponent();
					translator.Push(L, gen_ret);
                    
					return 1;
				}
				
			}
			catch(System.Exception gen_e) {
				return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
			}
            return LuaAPI.luaL_error(L, "invalid arguments to Yoozoo.Gameplay.City.City4xFogComponent constructor!");
            
        }

        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int __CreateInstanceNew(RealStatePtr L)
        {
            
			try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
				if(LuaAPI.lua_gettop(L) == 0)
				{
					
					var gen_ret = new Yoozoo.Gameplay.City.City4xFogComponent();
					translator.Push(L, gen_ret);
                    
					return 1;
				}
				
			}
			catch(System.Exception gen_e) {
				return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
			}
            return LuaAPI.luaL_error(L, "invalid arguments to Yoozoo.Gameplay.City.City4xFogComponent constructor!");
            
        }

        
		
        
		
        
        
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_Init(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.City.City4xFogComponent gen_to_be_invoked = (Yoozoo.Gameplay.City.City4xFogComponent)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    UnityEngine.TextAsset __areaAsset = (UnityEngine.TextAsset)translator.GetObject(L, 2, typeof(UnityEngine.TextAsset));
                    
                    gen_to_be_invoked.Init( __areaAsset );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_Dispose(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.City.City4xFogComponent gen_to_be_invoked = (Yoozoo.Gameplay.City.City4xFogComponent)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                    gen_to_be_invoked.Dispose(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_BuildBeginMask(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.City.City4xFogComponent gen_to_be_invoked = (Yoozoo.Gameplay.City.City4xFogComponent)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                    gen_to_be_invoked.BuildBeginMask(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_UnlockEdge(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.City.City4xFogComponent gen_to_be_invoked = (Yoozoo.Gameplay.City.City4xFogComponent)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    int _x = LuaAPI.xlua_tointeger(L, 2);
                    int _y = LuaAPI.xlua_tointeger(L, 3);
                    UnityEngine.Color _color;translator.Get(L, 4, out _color);
                    
                    gen_to_be_invoked.UnlockEdge( _x, _y, _color );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_UnlockFogGrids(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.City.City4xFogComponent gen_to_be_invoked = (Yoozoo.Gameplay.City.City4xFogComponent)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    int[] _gridIndex = (int[])translator.GetObject(L, 2, typeof(int[]));
                    bool _disperse = LuaAPI.lua_toboolean(L, 3);
                    
                    gen_to_be_invoked.UnlockFogGrids( _gridIndex, _disperse );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_UnlockAreaFogByTex(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.City.City4xFogComponent gen_to_be_invoked = (Yoozoo.Gameplay.City.City4xFogComponent)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 4&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 3)&& translator.Assignable<System.Action>(L, 4)) 
                {
                    int _areaId = LuaAPI.xlua_tointeger(L, 2);
                    bool _effect = LuaAPI.lua_toboolean(L, 3);
                    System.Action _callback = translator.GetDelegate<System.Action>(L, 4);
                    
                    gen_to_be_invoked.UnlockAreaFogByTex( _areaId, _effect, _callback );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 3)) 
                {
                    int _areaId = LuaAPI.xlua_tointeger(L, 2);
                    bool _effect = LuaAPI.lua_toboolean(L, 3);
                    
                    gen_to_be_invoked.UnlockAreaFogByTex( _areaId, _effect );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 2&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)) 
                {
                    int _areaId = LuaAPI.xlua_tointeger(L, 2);
                    
                    gen_to_be_invoked.UnlockAreaFogByTex( _areaId );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to Yoozoo.Gameplay.City.City4xFogComponent.UnlockAreaFogByTex!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_UnlockFogOut(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.City.City4xFogComponent gen_to_be_invoked = (Yoozoo.Gameplay.City.City4xFogComponent)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    int _areaId = LuaAPI.xlua_tointeger(L, 2);
                    
                    gen_to_be_invoked.UnlockFogOut( _areaId );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_PreShowEvent(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.City.City4xFogComponent gen_to_be_invoked = (Yoozoo.Gameplay.City.City4xFogComponent)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    int _state = LuaAPI.xlua_tointeger(L, 2);
                    
                    gen_to_be_invoked.PreShowEvent( _state );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_UnlockAreaFogEditor(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.City.City4xFogComponent gen_to_be_invoked = (Yoozoo.Gameplay.City.City4xFogComponent)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    int _areaId = LuaAPI.xlua_tointeger(L, 2);
                    
                    gen_to_be_invoked.UnlockAreaFogEditor( _areaId );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_UnlockAreaFog(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.City.City4xFogComponent gen_to_be_invoked = (Yoozoo.Gameplay.City.City4xFogComponent)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    int _areaId = LuaAPI.xlua_tointeger(L, 2);
                    
                    gen_to_be_invoked.UnlockAreaFog( _areaId );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetWaitLockTexOffset(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.City.City4xFogComponent gen_to_be_invoked = (Yoozoo.Gameplay.City.City4xFogComponent)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    float _offsetX = (float)LuaAPI.lua_tonumber(L, 2);
                    float _offsetY = (float)LuaAPI.lua_tonumber(L, 3);
                    
                    gen_to_be_invoked.SetWaitLockTexOffset( _offsetX, _offsetY );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_DigHoleFogOut(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.City.City4xFogComponent gen_to_be_invoked = (Yoozoo.Gameplay.City.City4xFogComponent)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    int _holeIndex = LuaAPI.xlua_tointeger(L, 2);
                    bool _enable = LuaAPI.lua_toboolean(L, 3);
                    
                    gen_to_be_invoked.DigHoleFogOut( _holeIndex, _enable );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_WidthEdge(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.City4xFogComponent gen_to_be_invoked = (Yoozoo.Gameplay.City.City4xFogComponent)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.WidthEdge);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_HeightEdge(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.City4xFogComponent gen_to_be_invoked = (Yoozoo.Gameplay.City.City4xFogComponent)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.HeightEdge);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_AreaCount(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.City4xFogComponent gen_to_be_invoked = (Yoozoo.Gameplay.City.City4xFogComponent)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.AreaCount);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_width(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.City4xFogComponent gen_to_be_invoked = (Yoozoo.Gameplay.City.City4xFogComponent)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.width);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_height(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.City4xFogComponent gen_to_be_invoked = (Yoozoo.Gameplay.City.City4xFogComponent)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.height);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_edge(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.City4xFogComponent gen_to_be_invoked = (Yoozoo.Gameplay.City.City4xFogComponent)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.edge);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_fogHeight(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.City4xFogComponent gen_to_be_invoked = (Yoozoo.Gameplay.City.City4xFogComponent)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushnumber(L, gen_to_be_invoked.fogHeight);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_cityCellSize(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.City4xFogComponent gen_to_be_invoked = (Yoozoo.Gameplay.City.City4xFogComponent)translator.FastGetCSObj(L, 1);
                translator.PushUnityEngineVector3(L, gen_to_be_invoked.cityCellSize);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_gridViewAngleY(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.City4xFogComponent gen_to_be_invoked = (Yoozoo.Gameplay.City.City4xFogComponent)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushnumber(L, gen_to_be_invoked.gridViewAngleY);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_maskTexPath(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.City4xFogComponent gen_to_be_invoked = (Yoozoo.Gameplay.City.City4xFogComponent)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushstring(L, gen_to_be_invoked.maskTexPath);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_maskTexturePaths(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.City4xFogComponent gen_to_be_invoked = (Yoozoo.Gameplay.City.City4xFogComponent)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.maskTexturePaths);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_fogPlans(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.City4xFogComponent gen_to_be_invoked = (Yoozoo.Gameplay.City.City4xFogComponent)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.fogPlans);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_texPropName(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.City4xFogComponent gen_to_be_invoked = (Yoozoo.Gameplay.City.City4xFogComponent)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushstring(L, gen_to_be_invoked.texPropName);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_meshRenderer(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.City4xFogComponent gen_to_be_invoked = (Yoozoo.Gameplay.City.City4xFogComponent)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.meshRenderer);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_fogMaskTex(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.City4xFogComponent gen_to_be_invoked = (Yoozoo.Gameplay.City.City4xFogComponent)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.fogMaskTex);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_disperseFogMesh(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.City4xFogComponent gen_to_be_invoked = (Yoozoo.Gameplay.City.City4xFogComponent)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.disperseFogMesh);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_disperseEdge(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.City4xFogComponent gen_to_be_invoked = (Yoozoo.Gameplay.City.City4xFogComponent)translator.FastGetCSObj(L, 1);
                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.disperseEdge);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_disperseSpeed(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.City4xFogComponent gen_to_be_invoked = (Yoozoo.Gameplay.City.City4xFogComponent)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushnumber(L, gen_to_be_invoked.disperseSpeed);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_fogEffectTime(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.City4xFogComponent gen_to_be_invoked = (Yoozoo.Gameplay.City.City4xFogComponent)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushnumber(L, gen_to_be_invoked.fogEffectTime);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_fogArray(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.City4xFogComponent gen_to_be_invoked = (Yoozoo.Gameplay.City.City4xFogComponent)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.fogArray);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_FogOutRoot(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.City4xFogComponent gen_to_be_invoked = (Yoozoo.Gameplay.City.City4xFogComponent)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.FogOutRoot);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_FogOutAreaMasks(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.City4xFogComponent gen_to_be_invoked = (Yoozoo.Gameplay.City.City4xFogComponent)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.FogOutAreaMasks);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_width(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.City4xFogComponent gen_to_be_invoked = (Yoozoo.Gameplay.City.City4xFogComponent)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.width = LuaAPI.xlua_tointeger(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_height(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.City4xFogComponent gen_to_be_invoked = (Yoozoo.Gameplay.City.City4xFogComponent)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.height = LuaAPI.xlua_tointeger(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_edge(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.City4xFogComponent gen_to_be_invoked = (Yoozoo.Gameplay.City.City4xFogComponent)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.edge = LuaAPI.xlua_tointeger(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_fogHeight(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.City4xFogComponent gen_to_be_invoked = (Yoozoo.Gameplay.City.City4xFogComponent)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.fogHeight = (float)LuaAPI.lua_tonumber(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_cityCellSize(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.City4xFogComponent gen_to_be_invoked = (Yoozoo.Gameplay.City.City4xFogComponent)translator.FastGetCSObj(L, 1);
                UnityEngine.Vector3 gen_value;translator.Get(L, 2, out gen_value);
				gen_to_be_invoked.cityCellSize = gen_value;
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_gridViewAngleY(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.City4xFogComponent gen_to_be_invoked = (Yoozoo.Gameplay.City.City4xFogComponent)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.gridViewAngleY = (float)LuaAPI.lua_tonumber(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_maskTexPath(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.City4xFogComponent gen_to_be_invoked = (Yoozoo.Gameplay.City.City4xFogComponent)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.maskTexPath = LuaAPI.lua_tostring(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_maskTexturePaths(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.City4xFogComponent gen_to_be_invoked = (Yoozoo.Gameplay.City.City4xFogComponent)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.maskTexturePaths = (System.Collections.Generic.List<string>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List<string>));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_fogPlans(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.City4xFogComponent gen_to_be_invoked = (Yoozoo.Gameplay.City.City4xFogComponent)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.fogPlans = (System.Collections.Generic.List<UnityEngine.GameObject>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List<UnityEngine.GameObject>));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_texPropName(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.City4xFogComponent gen_to_be_invoked = (Yoozoo.Gameplay.City.City4xFogComponent)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.texPropName = LuaAPI.lua_tostring(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_meshRenderer(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.City4xFogComponent gen_to_be_invoked = (Yoozoo.Gameplay.City.City4xFogComponent)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.meshRenderer = (UnityEngine.MeshRenderer)translator.GetObject(L, 2, typeof(UnityEngine.MeshRenderer));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_fogMaskTex(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.City4xFogComponent gen_to_be_invoked = (Yoozoo.Gameplay.City.City4xFogComponent)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.fogMaskTex = (UnityEngine.Texture2D)translator.GetObject(L, 2, typeof(UnityEngine.Texture2D));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_disperseFogMesh(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.City4xFogComponent gen_to_be_invoked = (Yoozoo.Gameplay.City.City4xFogComponent)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.disperseFogMesh = (UnityEngine.GameObject)translator.GetObject(L, 2, typeof(UnityEngine.GameObject));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_disperseEdge(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.City4xFogComponent gen_to_be_invoked = (Yoozoo.Gameplay.City.City4xFogComponent)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.disperseEdge = LuaAPI.xlua_tointeger(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_disperseSpeed(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.City4xFogComponent gen_to_be_invoked = (Yoozoo.Gameplay.City.City4xFogComponent)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.disperseSpeed = (float)LuaAPI.lua_tonumber(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_fogEffectTime(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.City4xFogComponent gen_to_be_invoked = (Yoozoo.Gameplay.City.City4xFogComponent)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.fogEffectTime = (float)LuaAPI.lua_tonumber(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_fogArray(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.City4xFogComponent gen_to_be_invoked = (Yoozoo.Gameplay.City.City4xFogComponent)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.fogArray = (byte[,])translator.GetObject(L, 2, typeof(byte[,]));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_FogOutRoot(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.City4xFogComponent gen_to_be_invoked = (Yoozoo.Gameplay.City.City4xFogComponent)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.FogOutRoot = (UnityEngine.GameObject)translator.GetObject(L, 2, typeof(UnityEngine.GameObject));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_FogOutAreaMasks(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.City.City4xFogComponent gen_to_be_invoked = (Yoozoo.Gameplay.City.City4xFogComponent)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.FogOutAreaMasks = (int[])translator.GetObject(L, 2, typeof(int[]));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
		
		
		
		
    }
}
